package com.coursehub.exercise.repository;

import com.coursehub.exercise.entity.WrongQuestionBank;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface WrongQuestionBankRepository extends JpaRepository<WrongQuestionBank, String> {
    List<WrongQuestionBank> findByUserId(String userId);
    List<WrongQuestionBank> findByUserIdAndCourseId(String userId, String courseId);
}


